package com.qixin.modules.print.service.impl;

import com.qixin.modules.print.entity.TbTemplatePrint;
import com.qixin.modules.print.mapper.TbTemplatePrintMapper;
import com.qixin.modules.print.service.ITbTemplatePrintService;
import com.qixin.modules.print.vo.FormPrintTemplateVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: 表单打印模板
 * @Author: qixin-boot
 * @Date:   2021-11-16
 * @Version: V1.0
 */
@Service
public class TbTemplatePrintServiceImpl extends ServiceImpl<TbTemplatePrintMapper, TbTemplatePrint> implements ITbTemplatePrintService {

    @Autowired
    private TbTemplatePrintMapper tbTemplatePrintMapper;

    @Override
    public List<FormPrintTemplateVo> selectByFormCode(String formCode) {
        List<FormPrintTemplateVo> list = tbTemplatePrintMapper.selectByFormCode(formCode);
        return list;
    }
}
